﻿@model Citi.Scheduler.WebUi.Models.DailyExecutionFilterModel

<ul class="nav nav-tabs">
    <li class="active"><a href="#finish" data-toggle="tab">Finished (All) </a></li>
    <li><a href="#inProgress" data-toggle="tab">In Progress</a></li>
    <li><a href="#nextExecutions" data-toggle="tab">Next Executions</a></li>
    <li><a href="#executedWithoutErrors" data-toggle="tab">Executed Without Errors</a></li>
    <li><a href="#errors" data-toggle="tab">Errors</a></li>
</ul>
<div class="tab-content">
    <div class="tab-pane active" id="finish">
        @Html.Action("LastExecutions", "RoutineExecution", new { model = Model, random = Guid.NewGuid() })
    </div>
    <div class="tab-pane" id="inProgress">
        @Html.Action("InProgressExecutions", "RoutineExecution", new { model = Model, random = Guid.NewGuid() })
    </div>
    <div class="tab-pane" id="nextExecutions">
        @Html.Action("NextExecutions", "RoutineExecution", new { model = Model, random = Guid.NewGuid() })
    </div>
    <div class="tab-pane" id="executedWithoutErrors">
        @Html.Action("LastExecutedWithoutError", "RoutineExecution", new { model = Model, random = Guid.NewGuid() })
    </div>
    <div class="tab-pane" id="errors">
        @Html.Action("LastErrors", "RoutineExecution", new { model = Model, random = Guid.NewGuid() })
    </div>
</div>